package com.liurz.mongdb.dao;

import com.liurz.mongdb.model.Sensor;
import org.springframework.stereotype.Component;

@Component("mongoSensorRepository")
public class SensorMongoRepository extends MongoDbDao<Sensor> {

    /**
     * 实体返回
     * @return
     */
    @Override
    protected Class<Sensor> getEntityClass() {
        return Sensor.class;
    }
}
